package top.letscode.adclicker.executor;

public class ExecutorThreadLocal {

  private static ThreadLocal<ExecutorAttachment> EXECUTOR_THREAD_LOCAL =
      new ThreadLocal<ExecutorAttachment>();

  public static void set(ExecutorAttachment attachment) {
    EXECUTOR_THREAD_LOCAL.set(attachment);
  }

  public static ExecutorAttachment get() {
    return EXECUTOR_THREAD_LOCAL.get();
  }
}
